package com.example.springbootcourse.pojo;

public class Notice {
    private String id;

    private String creatdate;

    private String content;

    private String userid;

    private String title;

    public Notice(String id, String creatdate, String content, String userid, String title) {
        this.id = id;
        this.creatdate = creatdate;
        this.content = content;
        this.userid = userid;
        this.title = title;
    }

    public Notice() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCreatdate() {
        return creatdate;
    }

    public void setCreatdate(String creatdate) {
        this.creatdate = creatdate == null ? null : creatdate.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid == null ? null : userid.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }
}